<div class ="col-md-1"></div>
 <div class ="col-md-10">
 <section id="color_2cols_1" class="cat-widget wdg-cat-horiz-2col-sm clearfix">
                    <div class="widget-title">
                        <h3><a href="<?php echo base_url("home/detail_all");?>">Manage tag</a></h3>
                        <span class="sub-title">จัดการแท็ก</span>

                        <div class="sep-widget"></div>
                    </div><br/>
 
<div class="content_block col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="col-md-3"></div>
<div class="col-md-6">
<div class="row">
	<form action="<?php echo base_url('admin/tag/add'); ?>" method="post" class="form-horizontal">
			<input type="hidden" name="id" value="<?php if(!empty($tag[0]['id'])) echo $tag[0]['id'];  ?>" />
		
		<div class="from-group">
	      <label class="col-md-3 control-label"for="name">ชื่อแท็ก</label>
	     <div class="col-md-8">
					<input type="text" name="name" value="<?php if(!empty($tag[0]['name'])) echo $tag[0]['name'];  ?>" class="form-control" />
	    </div></div><br/><br/><br/>

		<div class="from-group">
	      <div class="col-md-4"></div>
					<input type="submit" name="submit" value="submit"  class="btn btn-primary" /> &nbsp;
					<input type="reset" name="cancel" value="cancel"  class="btn" />
	      
	    </div>
	</form>
	</div>
</div>
</div>
 </section>
</div>
 <div class ="col-md-10">